#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of KeyExtracta
# <http://code.google.com/p/keyextracta/>.
#
# KeyExtracta is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# KeyExtracta is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with KeyExtracta.  If not, see <http://www.gnu.org/licenses/>.

import sys
from PyQt4.QtGui import QApplication
from PyQt4.QtCore import QString
from core.mainWindowActions import MainWindow

__appName__ = 'KeyExtracta'
__author__ = 'Nicholas Wilde'
__homePage__ = '/'.join(['http://code.google.com/p', __appName__.lower()])
__copyright__ = 'Copyright 2012, Nicholas Wilde'
__credits__ = []
__license__ = 'GPLv3'
__version__ = '0.1.1'
__maintainer__ = 'Nicholas Wilde'
__email__ = 'ncwilde43@gmail.com'
__status__ = 'Prototype'

def main():
  application = QApplication(sys.argv)
  application.setOrganizationName(QString(__author__))
  application.setApplicationVersion(QString(__version__))
  application.setOrganizationDomain(QString(__homePage__))
  application.setApplicationName(QString(__appName__))
  window = MainWindow()
  window.setWindowTitle(__appName__)
  window.show()
  sys.exit(application.exec_())

if __name__ == '__main__':
  main()

